<%@ page language="java" pageEncoding="UTF-8" %>
<%@taglib prefix="t" tagdir="/WEB-INF/tags" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<t:master>
    <jsp:body>

        <!--Begin Datatables-->
        <div class="row">
            <div class="col-lg-12">
                <div class="box">
                    <header>
                        <div class="icons">
                            <i class="fa fa-table"></i>
                        </div>
                        <h5>Dynamic Table</h5>
                    </header>
                    <div id="collapse4" class="body">
                        <table id="dataTable"
                               class="table table-bordered table-condensed table-hover table-striped">
                            <thead>
                            <tr>
                                <th>Id</th>
                                <th>pId</th>
                                <th>Name</th>
                                <th>MenuName</th>
                                <th>Method</th>
                                <th>priority</th>
                                <th>icon</th>
                                <th>status</th>
                                <th>opTime</th>
                            </tr>
                            </thead>
                            <tbody>
                            <c:forEach items="${page.result}" var="resource">

                                <tr>
                                    <td>${resource.resourceId}</td>
                                    <td>${resource.resourceParentId}</td>
                                    <td><a href="${resource.resourceUrl}">${resource.resourceName}</a></td>
                                    <td>${resource.resourceMenuName}</td>
                                    <td>${resource.resourceRequestMethod}</td>
                                    <td>${resource.priority}</td>
                                    <td><span class="${resource.resourceIcon}"></span></td>
                                    <td>${resource.status}</td>
                                    <td>${resource.opTime}</td>
                                </tr>
                            </c:forEach>

                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <!-- /.row -->


    </jsp:body>
</t:master>


